﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: NodesTemplateEntity.cs
// 修改时间：2020-9-8 10:40:07
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：NodesTemplate 的实体类.
	/// </summary>
	[Table("NodesTemplate")]
	public partial class NodesTemplateEntity
	{
		#region Properties
		private int? _nodeID = 0;
		/// <summary>
		/// 节点ID(主键)
		/// </summary>
		[Column("NodeID",TypeName="int")]
		[Key]
		public int? NodeID
		{
			get {return _nodeID;}
			set {_nodeID = value;}
		}
		
		private int? _templateID = 0;
		/// <summary>
		/// 列表模板ID(主键)
		/// </summary>
		[Column("TemplateID",TypeName="int")]
		[Key]
		public int? TemplateID
		{
			get {return _templateID;}
			set {_templateID = value;}
		}
		
		private System.Boolean _isDefault = false;
		/// <summary>
		/// 是否默认
		/// </summary>
		[Column("IsDefault",TypeName="bit")]
		public System.Boolean IsDefault
		{
			get {return _isDefault;}
			set {_isDefault = value;}
		}
		
		#endregion
	}
}
